package com.qlshouyu.len44.controller;

import com.qlshouyu.len44.models.IUser;
import com.qlshouyu.len44.models.User1;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author 高露 邮箱：<a href="egojit@qq.com">egojit@qq.com</a>
 * @since 2019-11-03 07:49
 */
@RestController
@RequestMapping("/api/user")
public class UserController {

    @Autowired
    private IUser user;

    @GetMapping
    public IUser detail(){
        return user;
    }
}
